/* css reset */
* {
  box-sizing: border-box;
}
*:before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
a{color: inherit; text-decoration: none;}
img{max-width: 100px;max-height: 100%;}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
/* style */
body {
  background: #eee;
}

.globalHeader {
  margin: 20px;
}
@media(min-width:500px){
    .globalHeader {
        margin: 60px 0;
      }
}
.searchForm {
  display: flex;
  justify-content: space-between;
}
@media (min-width:500px){
    .searchForm {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
      }
    
}
.searchForm > input {
  width: 100%;
  margin-right: 0;
  height: 40px;
  padding: 0 10px;
  border: none;
  border: 1px solid #ddd;
  border-radius: 1px;
}
.searchForm > button {
  white-space: nowrap;
  padding: 0 28px;
  border: none;
  border-radius: 1px;
  background: rgb(71,124,255);
  color: white;
  height: 40px;
  font-size: 16px;
  cursor: pointer;
}
.searchForm >button:hover{
  background: rgb(39,86,204);
}

.globalMain {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}
.siteList {
  margin: 20px;
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between; 
}
@media (min-width:500px) {
    .siteList {
        margin-left: 0;
        margin-right: -25px;
        justify-content: flex-start;
        
    }
}
.siteList > li {
  margin-bottom: 10px;
  
}
@media(min-width:500px){
    .siteList > li{
        margin-right: 25px;
    }
}
.siteList .site {
  border: 1px solid #ddd;
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: white;
  border-radius: 4px;
  padding: 20px 0;
  position: relative;
  cursor: pointer;

}
.siteList .site > .logo {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  text-transform: uppercase;
}
.siteList .site > .link {
  font-size: 14px;
  margin-top: 4px;
}
.siteList .site > .close{
    position: absolute;
    right: 10px;
    top: 5px;
}

@media(min-width:500px){
  .close{
      display: none;
  }
  .site:hover>.close{
      display: block;
  }
}
.siteList .site:hover > .close{
  display: block;
}

.siteList .addButton {
  border: 1px solid #ddd;
  background: white;
  width: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px 0;
  cursor: pointer;
}
.siteList .addButton .icon {
  width: 56px;
  height: 56px;
}
.siteList .addButton .text {
  font-size: 14px;
  margin-top: 4px;
}

.siteList .addButton .icon-wrapper {
  width: 64px;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
}
